home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2000 February / PCW_2_2000.ISO / software / sw / notfall / xsetup.exe / _SETUP.2 / Group3 / XQ Lycos Clubs 1.xpl < prev    next >
Encoding:
XSetup plugin  |  1999-09-13  |  1.3 KB  |  56 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="2"
  4. "UIPATH"="Internet\Instant Messaging\Lycos Clubs"
  5. "NAME"="Proxy Settings"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.01"
  8. "TEXT 1"="Proxy URL"
  9. "TEXT 2"="Proxy Port"
  10. "DESCRIPTION 1"="You can use this plug-in to change the proxy options for Lycos/NeoPlanet Clubs."
  11. "DESCRIPTION 2"="Lycos Clubs may be obtained at http://clubs.lycos.com/live/Directory/welcome.asp and is also included with the full version of NeoPlanet 5.0 at http://www.neoplanet.com/."
  12. "AUTHOR"="Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  15. "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
  16.  
  17.  
  18. sPath="HKEY_CURRENT_USER\Software\Valent\LycosClubs\Client\Realms\NetClubs\"
  19. sV1="NetworkAddress"
  20. sV2="NetworkPort"
  21.  
  22. Sub Plugin_Initialize 
  23.  if RegPathExists(sPath) then
  24.     s=RegReadValue(sPath & sV1)
  25.     SetUIElement 1,s
  26.  
  27.     s=RegReadValue(sPath & sV2)
  28.     SetUIElement 2,s
  29.  
  30.  else
  31.     Disable
  32.  end if
  33. End Sub
  34.  
  35.  
  36. Sub Plugin_CheckData(ElementIndex)
  37. End Sub
  38.  
  39.  
  40.  
  41. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  42.  s=GetUIElement(1)
  43.  Call RegWriteValue(sPath & sV1,s,1)
  44.  
  45.  s=GetUIElement(2)
  46.  Call RegWriteValue(sPath & sV2,s,1)
  47.  
  48. End Sub
  49.  
  50.  
  51. Sub Plugin_Terminate 
  52. End Sub
  53.  
  54.  
  55.  
  56.